import Vue from 'vue'

//1.引入依赖包
import VueRouter from 'vue-router'

//2，引入登录页面
import Login from "@/components/Login"

//3.使用路由
Vue.use(VueRouter)

//4.创建路由对象

//5.
export default new VueRouter({
    routes: [
        {
            path: '/',
            name: 'Login',
            component: Login,
        }
    ]
})